﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Utils.Weixin.Pay.Model
{
    /// <summary>
    /// 经营信息
    /// </summary>
    public class BusinessInfo
    {
        /// <summary>
        /// 个体=1 企业=2
        /// </summary>

        [DisplayName("企业类型"), RequiredAny]
        public int BusinessType { get; set; }

        /// <summary>
        /// 餐饮 电商平台 食品生鲜
        /// </summary>
        [DisplayName("行业"), RequiredAny]
        public string Industry { get; set; }

        [DisplayName("营业执照"), RequiredAny]
        public string BusinessLicense { get; set; }
        /// <summary>
        /// 统一社会信用代码
        /// </summary>
        [DisplayName("统一社会信用代码"), RequiredAny]
        public string LicenseNumber { get; set; }

        [DisplayName("注册地地址")]
        public string LicenseAddress { get; set; }
        /// <summary>
        /// 有效期限开始日期
        /// </summary>
        public DateTime? ValidBegin { get; set; }
        /// <summary>
        /// 有效期限结束日期
        /// </summary>
        public DateTime? ValidEnd { get; set; }

        [DisplayName("商户名称"), RequiredAny]
        public string MerchantName { get; set; }

        [DisplayName("商户简称"), RequiredAny]
        public string ShortMerchantName { get; set; }


        [DisplayName("客服电话"), RequiredAny]
        public string ServicePhone { get; set; }


        /// <summary>
        /// 其他资质
        /// </summary>
        public string[] Qualifications { get; set; }
    }
}
